<%--
  Created by IntelliJ IDEA.
  User: kkk
<%--
  Created by IntelliJ IDEA.
  User: kkk
  Date: 2022/11/8
  Time: 10:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/statics/layui/layui.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/layui/css/layui.css">
</head>
<body>
<%--    证件照：<img width="100px" height="120px" src="${pageContext.request.contextPath}/statics/upload/${sysUser.idpicpath}"/>--%>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>用户详情</legend>
</fieldset>

<form class="layui-form" action="" lay-filter="example">
    <div class="layui-form-item">
        <label class="layui-form-label">菜单编号</label>
        <div class="layui-input-inline">
            <input type="text" required lay-verify="required" readonly name="menuId" lay-verify="title" autocomplete="off" value="${menu.menuId}" class="layui-input">

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单名称</label>
        <div class="layui-input-inline">
            <input type="text" required lay-verify="required" name="menuName" lay-verify="title" autocomplete="off" value="${menu.menuName}" class="layui-input">
            <%--            <span>${accountError}</span>--%>
            <%--            <span id="accountSpan">${accountError}</span>--%>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">父菜单ID</label>
        <div class="layui-input-inline">
            <input type="text" name="parentId" readonly required lay-verify="required"  autocomplete="off" value="${menu.parentId}" class="layui-input">
            <span>${realNameError}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">显示顺序</label>
        <div class="layui-input-inline">
            <input type="text" name="orderNum" readonly required lay-verify="required"  autocomplete="off"  value="${menu.orderNum}" class="layui-input">
            <span>${passwordError}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">打开方式</label>
        <div class="layui-input-inline">
            <input type="text" name="target" readonly required lay-verify="required"  autocomplete="off" value="${menu.target=="menultem"? "页签":"新窗口"}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单类型</label>
        <div class="layui-input-inline">
            <input type="text" name="menuType" readonly required lay-verify="required"  autocomplete="off" value="<c:if test="${menu.menuType=='M'}">目录</c:if><c:if test="${menu.menuType=='C'}">菜单</c:if><c:if test="${menu.menuType=='F'}">按钮</c:if>" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单状态</label>
        <div class="layui-input-inline">
            <input type="text" name="visible" readonly required lay-verify="required"  autocomplete="off" value="${menu.visible=="1"? "隐藏":"显示"}" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <input type="text" name="remark" readonly lay-verify="title" autocomplete="off" value="${menu.remark}" class="layui-input">
        </div>
    </div>
</form>
</body>
</html>
